<!DOCTYPE html>
<html>

<head>

    {include file="Public/header"}
    <link type="text/css" rel="stylesheet" href="__STATIC__/layout/js/plugins/raty/demo/css/application.css">
    <style>
        .row {
           
            margin: 0 auto;
        }

        .agencyM_table tr th {
            text-align: center;
        }

        .textR {
            text-align: right;
        }

        .td2 {
            min-width: 140px
        }

        .min_H {
            min-height: 30px;
            line-height: 30px;
            font-size: 12px;
        }

        .text_right {
            text-align: right;
        }

        .star_w {
            width: 300px
        }
    </style>
</head>

<body class="white-bg" style="color:#333;padding:0px;">
<div class="container" style="width: 100%;padding-bottom: 20px">
    <div class="page-heade">
       <h2 class="title_color text-center">网点详情</h2>
    </div>
    {include file="net/view_common"}
    <div class="border-bottom white-bg">
        <div class="col-md-12 border_S padding_lr H_title title_color"
             style="line-height: 30px;text-align: right;">
            <div class="col-md-12 ">
                <button class="btn btn-sm btn-info evaluate" type="button">我要评价</button>
            </div>
        </div>
    </div>
    <div class="border-bottom white-bg">
        <div class="col-md-12 border_S padding_lr H_title title_color"
             style="line-height: 30px;text-align: center;font-size: 14px">
            <div class="col-md-12 ">网点星沙购物中心的评价结果</div>
        </div>
        <div class="white-bg border_S min_H">
            <div class="col-md-4 border_R min_H text_right">
                <span>评价类型</span>
            </div>
            <div class="col-md-8 min_H">
                <span>经销商评价</span>
            </div>
        </div>
        <div class="white-bg border_S min_H">
            <div class="col-md-4 border_R min_H text_right">
                <span>评价参与人数</span>
            </div>
            <div class="col-md-8 min_H">
                <span>{$count}人</span>
            </div>
        </div>
        <div class="white-bg border_S min_H">
            <div class="col-md-6 border_R min_H text_right">
                <span>网点合作情况:</span>
            </div>
            <div class="col-md-6 min_H star_w" id="devorlop">

            </div>
        </div>
        <div class="white-bg border_S min_H">
            <div class="col-md-6 border_R min_H text_right">
                <span>网点规模:</span>
            </div>
            <div class="col-md-6 min_H star_w" id="devorlop1">

            </div>
        </div>
        <div class="white-bg border_S min_H">
            <div class="col-md-6 border_R min_H text_right">
                <span>网点知名度:</span>
            </div>
            <div class="col-md-6 min_H star_w" id="devorlop2">
            </div>
        </div>
        <div class="white-bg border_S min_H">
            <div class="col-md-6 border_R min_H text_right">
                <span>网点所处地理位置:</span>
            </div>
            <div class="col-md-6 min_H star_w" id="devorlop3">
            </div>
        </div>
        <div class="white-bg border_S min_H">
            <div class="col-md-6 border_R min_H text_right">
                <span>网点客情:</span>
            </div>
            <div class="col-md-6 min_H star_w" id="devorlop4">
            </div>
        </div>
        <div class="white-bg border_S min_H">
            <div class="col-md-6 border_R min_H text_right">
                <span>竞品是否强势:</span>
            </div>
            <div class="col-md-6 min_H star_w" id="devorlop5">
            </div>
        </div>
        <div class="white-bg border_S min_H" style="text-align: center;">
            评价备注：
        </div>
    </div>
</div>
<form action="" id="add"></form>
    <!-- 全局js -->
    {include file="Public/footer"}
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>

    <!-- jqGrid -->
    <script type="text/javascript" src="__STATIC__/layout/js/plugins/raty/lib/jquery.raty.min.js"></script>
    <script>
        $(function () {
            $.fn.raty.defaults.path = '__STATIC__/layout/js/plugins/raty/lib/img';
            $("#devorlop").raty({
                score: '{$a1s}',
                click: function (score, evt) {

                    alert('ID: ' + $(this).attr('id') + "\nscore: " + score + "\nevent: " + evt);

                }
            })
            $("#devorlop1").raty({
                score: '{$a2s}',
                click: function (score, evt) {

                    alert('ID: ' + $(this).attr('id') + "\nscore: " + score + "\nevent: " + evt);

                }
            })
            $("#devorlop2").raty({
                score: '{$a3s}',
                click: function (score, evt) {

                    alert('ID: ' + $(this).attr('id') + "\nscore: " + score + "\nevent: " + evt);

                }
            })
            $("#devorlop3").raty({
                score: '{$a4s}',
                click: function (score, evt) {

                    alert('ID: ' + $(this).attr('id') + "\nscore: " + score + "\nevent: " + evt);

                }
            })
            $("#devorlop4").raty({
                score: '{$a5s}',
                click: function (score, evt) {

                    alert('ID: ' + $(this).attr('id') + "\nscore: " + score + "\nevent: " + evt);

                }
            })
            $("#devorlop5").raty({
                score: '{$a6s}',
                click: function (score, evt) {

                    alert('ID: ' + $(this).attr('id') + "\nscore: " + score + "\nevent: " + evt);

                }
            })
            $(".star_w").css("width", "300px")

            $(".evaluate").click(function () {
                layer.open({
                    type: 2,
                    title: '&nbsp;',
                    shadeClose: true,
                    shade: 0.3,
                    maxmin: true, //开启最大化最小化按钮
                    area: ['800px', '500px'],
                    content: '{:url("",array("id"=>request()->param("id"),"woyaoping"=>1))}'
                })
            })
            //修改联系人
            $('#updateContact').on('click',function () {
                layer.open({
                    type:2,
                    title:'修改',
                    area:['95%','80%'],
                    content:'{:url("form_contact",array("id"=>$data.id))}'
                })
                return false
            })
        })

    </script>
</body>

</html>